package cn.iocoder.yudao.module.project.controller.admin.weighthistory.vo;

import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.iocoder.yudao.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 称重业务分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class WeightHistoryPageReqVO extends PageParam {

    @Schema(description = "订单编号")
    private String orderCode;

    @Schema(description = "内码编号")
    private String internalCode;

    @Schema(description = "电子秤id", example = "25230")
    private Long scaleId;

    @Schema(description = "电子秤名称", example = "李四")
    private String scaleName;

    @Schema(description = "ip")
    private String ip;

    @Schema(description = "port")
    private String port;

    @Schema(description = "重量(g)")
    private Double weight;

    @Schema(description = "重量状态(0:正常:1过轻,2:过重)", example = "2")
    private Integer weightStatus;

    @Schema(description = "操作员", requiredMode = Schema.RequiredMode.REQUIRED)
    private String operator;

    @Schema(description = "操作时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] operatingTime;

    @Schema(description = "备注", example = "你说的对")
    private String remark;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

    @Schema(description = "型号", example = "1")
    private String type;

    @Schema(description = "查询日期,用于查询条件")
    private String[] dateReq;

    @Schema(description = "称重工位ID")
    private Integer weightWorkstationId;

    @Schema(description = "称重工位用户ID")
    private Integer weightWorkstationUserId;

    @Schema(description = "订单规格")
    private String flex;

    @Schema(description = "长度")
    private Integer len;

}
